<div class="am-modal  am-modal-prompt" tabindex="-1" id="worker-search" style="width:600px;">
    <div class="am-modal-dialog">
        <div class="am-modal-hd">
            查询条件
        </div>
        <form id="form_search" method="post" action="{:U('index')}">
            <div class="am-modal-bd am-text-sm" style="background-color:#F2F2F2">
                <div class="am-g am-text-left am-padding-top-sm">
                    <div class="am-u-sm-2">
                        小哥信息
                    </div>
                    <div class="am-u-sm-4">
                        <input type="text" name="param" id="param" value="{$param}" placeholder="小哥手机号或姓名"/>
                    </div>
                    <div class="am-u-sm-2">
                        站点
                    </div>
                    <div class="am-u-sm-4">
                        <select name="site_id" id="site_id">
                        	<option value="">全部</option>
                        	<foreach name="siteList" item="site">
                                <option value="{$site.site_id}">{$site.site_name}</option>
                            </foreach>
                        </select>
                    </div>
                </div>
            </div>
            <div class="am-modal-footer" style="background-color:#F2F2F2">
                <div class="am-g">
                    <div class="am-u-sm-4">
                        <button type="submit" style="border:none" class="am-text-secondary">
                            搜索
                        </button>
                    </div>
                    <div class="am-u-sm-4">
                        <button type="button" style="border:none" class="am-text-secondary" id="reset">
                            重置
                        </button>
                    </div>
                    <div class="am-u-sm-4">
                        <button type="button" style="border:none" class="am-text-secondary am-modal-btn" data-am-modal-close>
 		   关闭
                        </button>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>
<style type="text/css">
    input[type = text] {
        width: 150px
    }
    
    select {
        width: 150px;
        height: 30px;
	
    }
</style>
<block name="script">
    <script type="text/javascript" src="__PUBLIC__/Common/js/jquery-2.0.3.min.js" charset="utf-8">
    </script>
    <script type="text/javascript">
        $(function(){
        	
        	Think.setValue('emergency', '{$map.emergency|default=""}');
        	Think.setValue('status', '{$map.status}');
        	
            $("#reset").on('click', function(){
            	
                $("#form_search").find(":text,input:hidden").val("");
            });
        });
    </script>
</block>
